﻿using System.Xml.Serialization;

namespace SelfService.HaiTai.Models.Appointment;

[XmlRoot("res")]
public class AddOrderResponse
{
    /// <summary>
    /// Example: 0
    /// </summary>
    [XmlElement("resultCode")]
    public string ResultCode { get; set; }

    /// <summary>
    /// Example: 9281187
    /// </summary>
    [XmlElement("resultDesc")]
    public string ResultDesc { get; set; }

    /// <summary>
    /// 诊室地址
    /// </summary>
    [XmlElement("roomAddress")]
    public string RoomAddress { get; set; }
    
    /// <summary>
    /// 病历号
    /// </summary>
    [XmlElement(ElementName="oppatNo")] 
    public string OppatNo { get; set; } 
    
    /// <summary>
    /// 预约订单号
    /// </summary>
    [XmlElement(ElementName="bookingNo")] 
    public string BookingNo { get; set; } 
    
    /// <summary>
    /// 排队号
    /// </summary>
    [XmlElement("queueNo")]
    public string QueueNo { get; set; }

    /// <summary>
    /// 就诊流水号
    /// </summary>
    [XmlElement("clinicSeq")]
    public string ClinicSeq { get; set; }
}


[XmlRoot("res")]
public class GetRegFeeResponse
{
    /// <summary>
    /// Example: 0
    /// </summary>
    [XmlElement("resultCode")]
    public string ResultCode { get; set; }

    /// <summary>
    /// Example: 9281187
    /// </summary>
    [XmlElement("resultDesc")]
    public string ResultDesc { get; set; }

    /// <summary>
    /// 诊室地址
    /// </summary>
    [XmlElement("yhFee")]
    public int DiscountFee { get; set; }
}